package entity;

public class Life {
    private String idNumber;
    private String life;
    public Life(String idNumber,String diary){
        this.idNumber = idNumber;
        this.life = diary;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getLife() {
        return life;
    }

    public void setDiary(String diary) {
        this.life = diary;
    }

    @Override
    public String toString() {
        return "Life{" +
                "idNumber='" + idNumber + '\'' +
                ", diary='" + life + '\'' +
                '}';
    }
}
